import {request} from "@/config/request.js"
// 添加成员
export const sickAdd  = (data)=>{
    return request({
        url:'health/sick_add',
        method:'post',
        data
    })
}
//删除成员
export const familyDel  = (data)=>{
    return request({
        url:'health/sick_del',
        method:'post',
        data
    })
}
// 家庭成员数据
export const familyData  = (data)=>{
    return request({
        url:'health/family_data',
        method:'post',
        data
    })
}
// 患者详情
export const sickDetail  = (data)=>{
    return request({
        url:'health/sick_detail',
        method:'post',
        data
    })
}
// 患者详情
export const historyDetail  = (data)=>{
    return request({
        url:'health/history_detail',
        method:'post',
        data
    })
}
// 患者b添加
export const historyAdd  = (data)=>{
    return request({
        url:'health/history_add',
        method:'post',
        data
    })
}
// 患者b编辑
export const historyEdit  = (data)=>{
    return request({
        url:'health/history_edit',
        method:'post',
        data
    })
}
// 生活方式详情
export const liveDetail  = (data)=>{
    return request({
        url:'health/live_detail',
        method:'post',
        data
    })
}
// 生活方式详情
export const liveEdit  = (data)=>{
    return request({
        url:'health/live_edit',
        method:'post',
        data
    })
}
// 生活方式详情
export const liveAdd  = (data)=>{
    return request({
        url:'health/live_add',
        method:'post',
        data
    })
}
// 体检列表
export const tijianList  = (data)=>{
    return request({
        url:'health/tijian_list',
        method:'post',
        data
    })
}
// 体检详情
export const tijianDetail  = (data)=>{
    return request({
        url:'health/tijian_detail',
        method:'post',
        data
    })
}
// 就医记录列表
export const seeList  = (data)=>{
    return request({
        url:'health/see_list',
        method:'post',
        data
    })
}
// 就医记录详情
export const seeDetail  = (data)=>{
    return request({
        url:'health/see_detail',
        method:'post',
        data
    })
}
// 用药方案列表
export const medicineList  = (data)=>{
    return request({
        url:'health/medicine_list',
        method:'post',
        data
    })
}
// 用药方案详情
export const medicineDetail  = (data)=>{
    return request({
        url:'health/medicine_detail',
        method:'post',
        data
    })
}